package com.a918.dao;

import com.a918.entity.MemBwg;
import com.a918.entity.MemBwgWithBLOBs;

import java.util.List;
import java.util.Map;

public interface MemBwgMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MemBwgWithBLOBs record);

    int insertSelective(MemBwgWithBLOBs record);

    MemBwgWithBLOBs selectByPrimaryKey(Integer id);

    List<MemBwgWithBLOBs> getAvalMuseByUserid(Integer userid);

    int updateByPrimaryKeySelective(MemBwgWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(MemBwgWithBLOBs record);

    int updateByPrimaryKey(MemBwg record);

    List<MemBwg> findmemBwgList();

    int findmemBwgCount(Map mapParameter);

    List<Map<String,Object>> tjIndustryType();

    List<Map<String,Object>> tjMuseumType();

    List<Map<String,Object>> tjMainVistorType();

    List<Map<String,Object>> tjFarenType();

    List<Map<String,Object>> tjBuildingArea();

    List<Map<String,Object>> tjProvince();

    List<Map<String,Object>> tjShowArea();

    List<Map<String,Object>> tjCangpinNum();

    List<Map<String,Object>> tjEmployeeNum();

    List<MemBwg> getBwgListByUserid(Integer userid);

    MemBwgWithBLOBs selectBwgId(Integer userid);

    List<Integer> getIdListbyUserId(Integer userId);

    void deleteByUserId(Integer userId);

    List<MemBwgWithBLOBs> getBwgWithBLOBsByUserid(Integer userid);
}